from django.conf.urls import include, url
from django.views.static import serve
from django.conf import settings

urlpatterns = (
    # path('admin/', admin.site.urls),
    url(r'^media/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT}),
    url(r'^BookType/', include('home_application.BookType.urls')),
    url(r'^Book/', include('home_application.Book.urls')),
    url(r'^', include("home_application.Index.urls")),
)
